/**
\file IO.h
*/
#pragma once
#include <lostlbase.h>
#include <System.h>

namespace lo {

	class Param {
	public:
		static bool IsYes( const char *param );
		static bool ParseLine( const char * line, int index, const char * command, string & parameter );
		static bool ParseLine( const char * line, int index, const char * command, DateTime& time );
		static int	ParseLine( const char * line, int index, const char * command, int _default );
		static bool ParseLine( const char * line, int index, const char * command, bool _default );
		static bool ParseLine( const char * line, int index, const char * command, LPBYTE buffer, int parameterLength );
	};
}